package cn.kimming.common.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 房型
 */
@Data
public class RoomTypeUpdateDTO implements Serializable {

    @NotNull(message = "id is not null")
    private Long id;

    /**
     * 类型名称
     */
    @NotNull(message = "typeName is not null")
    private String typeName;

    /**
     * 床位数
     */
    @NotNull(message = "bedCount is not null")
    private Short bedCount;

    /**
     * 房型总面积
     */
    @NotNull(message = "roomSize is not null")
    private Double roomSize;

    /**
     * 默认工作日价格
     */
    @NotNull(message = "workdayPrice is not null")
    private BigDecimal workdayPrice;

    /**
     * 默认周末价格
     */
    @NotNull(message = "weekendPrice is not null")
    private BigDecimal weekendPrice;

    /**
     * 类型详细描述
     */
    private String typeDesc;

    private static final long serialVersionUID = 1L;
}